﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Td.Additional.Log
{
    /// <summary>
    /// Closing log file event arguments class.
    /// </summary>
    public class ClosingLogFileEventArgs : EventArgs
    {
        #region Properties

        /// <summary>
        /// Gets or sets the log.
        /// </summary>
        /// <value>The log.</value>
        public FileLog Log { get; set; }

        #endregion

        #region Constructors

        /// <summary>
        /// Initializes a new instance of the <see cref="ClosingLogFileEventArgs"/> class.
        /// </summary>
        public ClosingLogFileEventArgs()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="ClosingLogFileEventArgs"/> class.
        /// </summary>
        /// <param name="log">The log.</param>
        public ClosingLogFileEventArgs(FileLog log)
            : this()
        {
            Log = log;
        }

        #endregion
    }
}